package znbkTestPaperXtfx.saveXtfxPaper;

import com.google.gson.Gson;

import java.util.List;

/**
 * Created by Administrator on 2018\4\3 0003.
 */

public class SaveSystemReviewPaperEntityModel {

    public  static Gson gson;

    /**
     * ChildIndex : 1
     * UpLoadPath :
     * StuAssess :
     * Answer : A
     */
    public static SaveSystemReviewPaperEntity.ModelItemAnswerDetailListBean.
            ModelQuesSubChildAnswerListBean.ModelQuesChildAnswerListBean getModelQuesChildAnswerListBean(
            int ChildIndex,
            String UpLoadPath,
            String StuAssess,
            String Answer){

            SaveSystemReviewPaperEntity.ModelItemAnswerDetailListBean.
                    ModelQuesSubChildAnswerListBean.ModelQuesChildAnswerListBean mModelQuesChildAnswerListBean =
                    new SaveSystemReviewPaperEntity.ModelItemAnswerDetailListBean.ModelQuesSubChildAnswerListBean.ModelQuesChildAnswerListBean();

            mModelQuesChildAnswerListBean.setChildIndex(ChildIndex);
            mModelQuesChildAnswerListBean.setUpLoadPath(UpLoadPath);
            mModelQuesChildAnswerListBean.setStuAssess(StuAssess);
            mModelQuesChildAnswerListBean.setAnswer(Answer);

            gson = new Gson();
            return mModelQuesChildAnswerListBean;
    }

    /**
     * ModelQuesChildAnswerList : [{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":"A"}]
     * SubChildIndex : 1
     */
    public static  SaveSystemReviewPaperEntity.ModelItemAnswerDetailListBean.
            ModelQuesSubChildAnswerListBean getModelQuesSubChildAnswerListBean(
             List<SaveSystemReviewPaperEntity.ModelItemAnswerDetailListBean.ModelQuesSubChildAnswerListBean.ModelQuesChildAnswerListBean> ModelQuesChildAnswerListBean,
             int SubChildIndex){

                SaveSystemReviewPaperEntity.ModelItemAnswerDetailListBean.
                        ModelQuesSubChildAnswerListBean mModelQuesSubChildAnswerListBean =
                        new SaveSystemReviewPaperEntity.ModelItemAnswerDetailListBean.ModelQuesSubChildAnswerListBean();

                mModelQuesSubChildAnswerListBean.setModelQuesChildAnswerList(ModelQuesChildAnswerListBean);
                mModelQuesSubChildAnswerListBean.setSubChildIndex(SubChildIndex);

                gson = new Gson();
                return mModelQuesSubChildAnswerListBean;

    }

    /**
     * QuesID : CCAE06047DHE10A00Cv
     * AnsweredItemCount : 1
     * AnswerState : 2
     * ModelQuesSubChildAnswerList : [{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":"A"}],"SubChildIndex":1}]
     * Duration : 22
     * PaperID : P20184310027600
     * CorrectRate : 0
     * TotalItemCount : 1
     * StuID : zxstu79
     * CreateTime : 2018-04-03 16:32:02
     * QuesFrom : 1
     */
    public static SaveSystemReviewPaperEntity.ModelItemAnswerDetailListBean getModelItemAnswerDetailListBean(
             String QuesID,
             int AnsweredItemCount,
             int AnswerState,
             int Duration,
             String PaperID,
             double CorrectRate,
             int TotalItemCount,
             String StuID,
             String CreateTime,
             int QuesFrom,
             List< SaveSystemReviewPaperEntity.ModelItemAnswerDetailListBean.ModelQuesSubChildAnswerListBean> ModelQuesSubChildAnswerListBean){

            SaveSystemReviewPaperEntity.ModelItemAnswerDetailListBean mModelItemAnswerDetailListBean =
                    new SaveSystemReviewPaperEntity.ModelItemAnswerDetailListBean();

            mModelItemAnswerDetailListBean.setQuesID(QuesID);
            mModelItemAnswerDetailListBean.setAnsweredItemCount(AnsweredItemCount);
            mModelItemAnswerDetailListBean.setAnswerState(AnswerState);
            mModelItemAnswerDetailListBean.setDuration(Duration);
            mModelItemAnswerDetailListBean.setPaperID(PaperID);
            mModelItemAnswerDetailListBean.setCorrectRate(CorrectRate);
            mModelItemAnswerDetailListBean.setTotalItemCount(TotalItemCount);
            mModelItemAnswerDetailListBean.setStuID(StuID);
            mModelItemAnswerDetailListBean.setCreateTime(CreateTime);
            mModelItemAnswerDetailListBean.setQuesFrom(QuesFrom);
            mModelItemAnswerDetailListBean.setModelQuesSubChildAnswerList(ModelQuesSubChildAnswerListBean);

            gson = new Gson();
            return mModelItemAnswerDetailListBean;
    }


    /**
     * AnsweredItemCount : 2
     * AnswerState : 3
     * Duration : 29
     * ModelItemAnswerDetailList : [{"QuesID":"CCAE06047DHE10A00Cv","AnsweredItemCount":1,"AnswerState":2,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":"A"}],"SubChildIndex":1}],"Duration":22,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":1,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE07061DHE10J00Cs","AnsweredItemCount":1,"AnswerState":2,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":"A"}],"SubChildIndex":1}],"Duration":5,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":1,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE06057DHE10800Cn","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":1,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE17077DHE10800BZ","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":1,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE06049DHE10400Aa","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":1,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE06057DHE10N00dW","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":2},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":3}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":3,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE11085DHE10J00bE","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":2},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":3}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":3,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE18144DHE10U00RP","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":2}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":2,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE07074DHE10V00gd","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":2},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":3}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":3,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE11149DHE10s00kh","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":2},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":3},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":4}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":4,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE14105DHm10z01IC","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":5,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE07061DHm10z00f2","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":5,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE06057DHC10z028t","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":2},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":3},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":4},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":5},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":6},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":7},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":8},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":9},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":10},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":11},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":12},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":13},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":14},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":15},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":16},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":17},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":18},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":19},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":20}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":20,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:02","QuesFrom":1},{"QuesID":"CCAE07137DHD10l01Cb","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":2},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":3},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":4},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":5}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":5,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:03","QuesFrom":1},{"QuesID":"CCAE14102DHD10j00lk","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":2},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":3}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":3,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:03","QuesFrom":1},{"QuesID":"CCAE16119DHD10z0164","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":2},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":3},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":4}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":4,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:03","QuesFrom":1},{"QuesID":"CCAE10077DHD10z016O","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":2},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":3},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":4}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":4,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:03","QuesFrom":1},{"QuesID":"CCAE12093DHD10z015g","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":2},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":3},{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":4}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":4,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:03","QuesFrom":1},{"QuesID":"CCAE11080DHU10Z00KK","AnsweredItemCount":10,"AnswerState":1,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"系统默认优秀","Answer":""}],"SubChildIndex":1}],"Duration":6,"PaperID":"P20184310027600","CorrectRate":1,"TotalItemCount":10,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:03","QuesFrom":1},{"QuesID":"CCAE19163DHN10z00Qb","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":10,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:03","QuesFrom":1},{"QuesID":"CCAE14105DHf10M00Ph","AnsweredItemCount":0,"AnswerState":0,"ModelQuesSubChildAnswerList":[{"ModelQuesChildAnswerList":[{"ChildIndex":1,"UpLoadPath":"","StuAssess":"","Answer":""}],"SubChildIndex":1}],"Duration":0,"PaperID":"P20184310027600","CorrectRate":0,"TotalItemCount":1,"StuID":"zxstu79","CreateTime":"2018-04-03 16:32:03","QuesFrom":1}]
     * PaperID : P20184310027600
     * PaperName : 系统复习卷2
     * StuID : zxstu79
     * SubjectId : C
     * SchoolID : S24-666-2ECC
     */
    public static SaveSystemReviewPaperEntity getSaveSystemReviewPaperEntity(
             int AnsweredItemCount,
             int AnswerState,
             int Duration,
             String PaperID,
             String PaperName,
             String StuID,
             String SubjectId,
             String SchoolID,
             List<SaveSystemReviewPaperEntity.ModelItemAnswerDetailListBean> ModelItemAnswerDetailList){

            SaveSystemReviewPaperEntity mSaveSystemReviewPaperEntity =
                    new SaveSystemReviewPaperEntity();

            mSaveSystemReviewPaperEntity.setAnsweredItemCount(AnsweredItemCount);
            mSaveSystemReviewPaperEntity.setAnswerState(AnswerState);
            mSaveSystemReviewPaperEntity.setDuration(Duration);
            mSaveSystemReviewPaperEntity.setPaperID(PaperID);
            mSaveSystemReviewPaperEntity.setPaperName(PaperName);
            mSaveSystemReviewPaperEntity.setStuID(StuID);
            mSaveSystemReviewPaperEntity.setSubjectId(SubjectId);
            mSaveSystemReviewPaperEntity.setSchoolID(SchoolID);
            mSaveSystemReviewPaperEntity.setModelItemAnswerDetailList(ModelItemAnswerDetailList);

            gson = new Gson();
            return mSaveSystemReviewPaperEntity;

    }



}
